/*
 * Copyright (C) 2008 Universidade Federal de Campina Grande
 *  
 * This file is part of OurGrid. 
 *
 * OurGrid is free software: you can redistribute it and/or modify it under the
 * terms of the GNU Lesser General Public License as published by the Free 
 * Software Foundation, either version 3 of the License, or (at your option) 
 * any later version. 
 * 
 * This program is distributed in the hope that it will be useful, but WITHOUT 
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 
 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
 * for more details. 
 * 
 * You should have received a copy of the GNU Lesser General Public License 
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 * 
 */
package org.ourgrid.common.spec.worker;

/**
 * Defines the systems info properties names for 
 * the class {@link WorkerSpec}.
 * 
 */
public interface WorkerSpecConstantes {

	/**
	 * System boot instant time.
	 */
	public static final String ATT_BOOTTIME 	= "boottime";
	
	/**
	 * Number of bytes in per second.
	 */
	public static final String ATT_BYTES_IN 	= "bytes_in";
	
	/**
	 * Number of bytes out per second.
	 */
	public static final String ATT_BYTES_OUT  	= "bytes_out";    
	
	/**
	 * Percent of time since boot idle CPU.
	 */
	public static final String ATT_CPU_AIDLE  	= "cpu_aidle";   
	
	/**
	 * Current percent CPU idle.
	 */
	public static final String ATT_CPU_IDLE 	= "cpu_idle";  
	
	/**
	 * Percent CPU nice.
	 */
	public static final String ATT_CPU_NICE 	= "cpu_nice"; 
	
	/**
	 * Number of CPUs.
	 */
	public static final String ATT_CPU_NUM 		= "cpu_num";
	
	/**
	 * Speed in MHz of CPU.
	 */
	public static final String ATT_CPU_SPEED 	= "cpu_speed";
	
	/**
	 * Percent CPU system.
	 */
	public static final String ATT_CPU_SYSTEM	= "cpu_system";   
	
	/**
	 * Percent CPU user.
	 */
	public static final String ATT_CPU_USER 	= "cpu_user";
	
	/**
	 * Total free disk space in Kb.
	 */
	public static final String ATT_DISK_FREE	= "disk_free";
	
	/**
	 * Total available disk space in Kb.
	 */
	public static final String ATT_DISK_TOTAL 	= "disk_total";   
	
	/**
	 * Fifteen minute load average.
	 */
	public static final String ATT_LOAD_FIFTEEN	= "load_fifteen";  
	
	/**
	 * Five minute load average.
	 */
	public static final String ATT_LOAD_FIVE 	= "load_five"; 
	
	/**
	 * One minute load average.
	 */
	public static final String ATT_LOAD_ONE  	= "load_one";
	
	/**
	 * GPS coordinates for host.
	 */
	public static final String ATT_LOCATION   	= "location";
	
	/**
	 * Amount of buffered memory in Kb.
	 */
	public static final String ATT_MEM_BUFFERS 	= "mem_buffers";  
	
	/**
	 * Amount of cached memory in Kb.
	 */
	public static final String ATT_MEM_CACHED  	= "mem_cached";
	
	/**
	 * Amount of available memory in Kb.
	 */
	public static final String ATT_MEM_FREE   	= "mem_free";
	
	/**
	 * Amount of shared memory in Kb.
	 */
	public static final String ATT_MEM_SHARED	= "mem_shared";
	
	/**
	 * Amount of available memory in Kb.
	 */
	public static final String ATT_MEM_TOTAL 	= "mem_total";
	
	/**
	 * Operating system name.
	 */
	public static final String ATT_OS_NAME  	= "os_name";
	
	/**
	 * Operating system release (version).
	 */
	public static final String ATT_OS_RELEASE 	= "os_release";
	
	/**
	 * Maximum percent used for all partitions.
	 */
	public static final String ATT_PART_MAX_USED= "part_max_used";
	
	/**
	 * Packets in per second.
	 */
	public static final String ATT_PKTS_IN  	= "pkts_in";
	
	/**
	 * Packets out per second.
	 */
	public static final String ATT_PKTS_OUT 	= "pkts_out";
	
	/**
	 * Total number of running processes.
	 */
	public static final String ATT_PROC_RUN 	= "proc_run";
	
	/**
	 * Total number of processes.
	 */
	public static final String ATT_PROC_TOTAL 	= "proc_total";
	
	/**
	 * Amount of available swap memory in Kb.
	 */
	public static final String ATT_SWAP_FREE 	=  "swap_free";
	
	/**
	 * Total amount of swap memory.
	 */
	public static final String ATT_SWAP_TOTAL 	= "swap_total";
	
	/**
	 * Current time on host.
	 */
	public static final String ATT_SYS_CLOCK 	= "sys_clock";
	
}
